<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  
  <xsl:include href="<%= local_xslt_url %>" />
  <xsl:template match="/">
    
    <xsl:variable name="token.xml">
      <xsl:for-each select="Files/file">
        <place>
          <xsl:attribute name="id">
            <xsl:value-of select='@rel'/>
          </xsl:attribute> 
          
          <xsl:value-of select="@href"/>
        </place>
      </xsl:for-each>
    </xsl:variable>
    
    <xsl:variable name="username"><xsl:value-of select="Files/username" /></xsl:variable>
    
    <xsl:call-template name="PNENGINE" >
        <xsl:with-param name="token.xml" select="$token.xml"/>
        <xsl:with-param name="username" select="$username"/>
    </xsl:call-template>
    
  </xsl:template>
  
  
  
</xsl:stylesheet>
